package com.api.shopapi.service.impl;


import com.api.shopapi.entity.Interface;
import com.api.shopapi.mapper.InterfaceMapper;
import com.api.shopapi.service.InterfaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("InterfaceServiceImplOne")
public class InterfaceServiceImpl implements InterfaceService {

    @Autowired
    private InterfaceMapper interfaceMapper;

    @Override
    public Interface getByInterfaceCode(String interfaceCode){
        return interfaceMapper.getByInterfaceCode(interfaceCode);
    }
}
